<%@ page language="java" import="java.util.*, com.cola.utils.PropertyUtils" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/common/taglib.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>9月扫码领券</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <script language="javascript" type="text/javascript" src="http://libs.baidu.com/jquery/2.0.3/jquery.min.js"></script>
</head>

<body>
<script type="text/javascript">
    $(document).ready(function(){
        var redirect_uri = "<%=PropertyUtils.getProperty("url") %>";
        var appid="<%=PropertyUtils.getProperty("appid") %>";

        window.location.href ="https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + appid + "&redirect_uri=" + redirect_uri + "/auth.do&response_type=code&scope=snsapi_userinfo&state=cola#wechat_redirect";
    });
</script>
</body>
</html>